package Afternoon;

import java.util.HashMap;
import java.util.Set;

public class Afternoon02 {

    public static void main(String[] args) {

        HashMap<String, Integer> map = new HashMap<>();

        map.put("张三", 23);
        map.put("李四", 24);
        map.put("王五", 25);

        Set<String> strings = map.keySet();

        for (String key: strings) {

            Integer intege = map.get(key);

            System.out.println(key+"========"+intege);

        }


    }
}